<template>
    <div slot="content" class="tg_main_div">
        <el-row class="warp">
            <el-col :span="24" class="warp-breadcrum">
                <el-breadcrumb separator="/">
                    <el-breadcrumb-item :to="{ path: '/' }"><b>首页</b></el-breadcrumb-item>
                    <el-breadcrumb-item :to="{ path: '/enterprise/enterprise_list/' }">企业管理</el-breadcrumb-item>
                    <el-breadcrumb-item>帐户记录</el-breadcrumb-item>
                </el-breadcrumb>
            </el-col>
            <el-col :span="24" class="warp-breadcrum" style="background-color: #FFFFFF">
                <div class="tit-6">
                    充值记录
                </div>
                <div class="tg_test" style="border-top:2px solid #f4f4f5">
                    <source-log :accountId="accountId"/>
                </div>
            </el-col>
            <el-col :span="24" class="warp-breadcrum" style="background-color: #FFFFFF">
                <div class="tit-6">
                    支出记录
                </div>
                <div class="tg_test" style="border-top:2px solid #f4f4f5">
                    <payout-log :accountId="accountId"/>
                </div>
            </el-col>
        </el-row>
    </div>
</template>
<script>
import sourceLog from './source_log'
import payoutLog from './payout_log'
export default{
  name: 'AccountLog',
  components: { sourceLog, payoutLog },
  data(){
    return{
      accountId: ''
    }
  },
  created() {
    this.accountId = this.$route.params.id
    console.error(this.accountId)
  }
}
</script>